package com.woniuxy.service.impl;

import com.woniuxy.entity.Img;
import com.woniuxy.mapper.ImgMapper;
import com.woniuxy.service.ImgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ImgServiceImpl implements ImgService {
    @Resource
    private ImgMapper imgMapper;
    @Override
    public List<Img> selectCampImgByCampId(Integer campId) throws Exception {
        return imgMapper.selectAllImgByCampId(campId);
    }
}
